home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / ge16mdm0.zip / GE16M.VGA < prev    next >
Text File  |  1994-02-13  |  2KB  |  62 lines

  1. VESA compatible 640x480; 16M colors; 24-bit mode
  2. 100 $4f02 $101 0 0
  3. 88C2                    ' mov dl,al
  4. B600                    ' mov dh,0
  5. B8054F                  ' mov ax,$4f05
  6. 53                      ' push bx
  7. 31DB                    ' xor bx,bx
  8. C1E2*G                  ' shl dx,VESA granularity
  9. CD10                    ' int 10
  10. 5B                      ' pop bx
  11. CB                      ' retf
  12. @
  13. Cirrus Logic SVGA CL-GD540x/542x; STB Evolution; Western Digital; 8 bit
  14. 101 $5F 0 0 0         ' ID number, registers AX,BX,CX,DX for INT $10
  15. ' if ID is in range 100-149, 8 bit mode, 200-249, 24 bit mode
  16. ' bank procedure: without mov curbank,al
  17. 2407                  ' and al,7
  18. 8AE0                  ' mov ah,al
  19. C0E404                ' shl ah,4
  20. BACE03                ' mov dx,3ceh
  21. B009                  ' mov al,9
  22. EF                    ' out dx,ax
  23. CB                    ' retf
  24. @                     ' end mark
  25. Western Digital SVGA; 8-bit mode
  26. 102 95 0 0 0
  27. 88C4C0E404BACE03B009EFCB
  28. @
  29. VESA compatible 640x480; 16M colors; 24-bit mode
  30. 200 $4f02 $112 0 0
  31. 88C2                    ' mov dl,al
  32. B600                    ' mov dh,0
  33. B8054F                  ' mov ax,$4f05
  34. 53                      ' push bx
  35. 31DB                    ' xor bx,bx
  36. C1E2*G                  ' shl dx,VESA granularity
  37. CD10                    ' int 10
  38. 5B                      ' pop bx
  39. CB                      ' retf
  40. @
  41. Cirrus Logic SVGA CL-GD540x/542x; STB Evolution; 24 bit mode
  42. 201 $71 0 0 0          ' ID number 200 - 24 bit
  43. ' ID=200 -> 24 bit mode, TrueColor
  44. ' bank procedure:
  45. 8AE0              ' mov ah,al
  46. C0E404                ' shl ah,4
  47. BACE03                ' mov dx,3ceh
  48. B009                  ' mov al,9
  49. EF                    ' out dx,ax
  50. CB                    ' retf
  51. @                     ' end mark
  52. Trident 8900CL; 24bit mode
  53. 202 $6c 0 0 0
  54. BAD803                  ' mov dx,$3d8
  55. EE                      ' out dx,al
  56. CB                      ' retf
  57. @
  58. Western Digital SVGA; 24-bit mode; REQUIERS -\VSA1
  59. 203 110 0 0 0
  60. 88C4C0E404BACE03B009EFCB
  61. @
  62.